<%@ include file="/common/taglibs.jsp"%>

<head>
    <title><fmt:message key="upload.files"/></title>
    <meta name="heading" content="<fmt:message key='upload.files'/>"/>
    <meta name="menu" content="FileMenu"/>
</head>

<display:table name="fileList" cellspacing="0" cellpadding="0" requestURI="" defaultsort="1" id="file" pagesize="25" class="table" style="width: 128%" export="false">
    <display:column property="userName" escapeXml="true" sortable="true" titleKey="user.username" style="width: 12%"/>
    <display:column property="fileName" escapeXml="true" sortable="true" titleKey="uploadForm.name" style="width: 20%"/>
    <display:column property="originalFileName" sortable="true" titleKey="uploadForm.nameOriginal" style="width: 35%"/>
    <display:column property="contentType" sortable="true" titleKey="uploadForm.contentType" style="width: 20%"/>
    <display:column property="fecha" sortable="true" titleKey="uploadForm.fecha" style="width: 30%"/>
    <display:column style="width: 1%">
		<a style="text-decoration: none;" href="javascript:callConfirmarBorrar('/filelist/delete?id=${file.id}', 150, 350);"><img src="../images/Delete.png" style="width: 20px; height: 20px;"></a>
	</display:column>
	<display:column style="width: 1%">
		<a style="text-decoration: none;" href="/filelist/download?id=${file.id}"><img  src="../images/Document-Save.png" style="width: 20px; height: 20px;"></a>	    	
    </display:column>

    <display:column property="enabled" titleKey="user.enabled" media="csv xml excel pdf"/>

    <display:setProperty name="paging.banner.item_name" value="file"/>
    <display:setProperty name="paging.banner.items_name" value="file"/>

    <display:setProperty name="export.excel.filename" value="File List.xls"/>
    <display:setProperty name="export.csv.filename" value="File List.csv"/>
    <display:setProperty name="export.pdf.filename" value="File List.pdf"/>
</display:table>

<script type="text/javascript">
    highlightTableRows("file");
</script>
